package com.dws.xchat;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@SpringBootApplication
@EnableScheduling
@MapperScan("com.dws.xchat.dao")
public class App {
	
	@Value("${app.author}")
	private String author;
	@Value("${app.starttime}")
	private String starttime;
	
	
    public static void main(String[] args) {
    	SpringApplication application = new SpringApplication(App.class);
    	application.setShowBanner(true);
    	application.run(args);
    }
  
}